package com.mtw.bbs.constant;



public class LikeConstant {

    // 点赞数缓存前缀
    public static final String REDIS_LIKE_COUNT_PREFIX  = "lc:";

    //  点赞锁前缀
    public static final String LOCK_LIKE_PREFIX  = "lock:l_";

    //  点赞锁前缀
    public static final String LOCK_COUNT_PREFIX  = "lock:c_";

    // 用户点赞列表前缀
    public static final String REDIS_USER_LIKE_LIST_PREFIX  = "u_lc:";


    // 实体已点赞用户列表前缀
    public static final String REDIS_MESSAGE_LIKE_LIST_PREFIX  = "lu:";


    // 赞
    public static final Integer LIKE_VALUE = 1;

    // 取消赞
    public static final Integer CANCEL_LIKE_VALUE = 2;

    //
    public static final Integer NONE_VALUE = 0;

    // 踩
    public static final Integer DISLIKE_VALUE = -1;


    // 取消赞
    public static final Integer CANCEL_DISLIKE_VALUE = -2;



    // List/Hash/Set/ZSet的最大元素数量
    public static final Long MAX_ELEMENT_SIZE = 10000L;



    
}
